@extends('home._layout.default')


@section('header_css')
    <style>
        .article .ibox-content{padding-top: 10px;}
        .article h1 {font-size: 30px;}
        .list-group-item{list-style: decimal;display:list-item !important;padding-left: 0;}
        .hot-label{margin: 5px;font-size: 15px;}
        .hot-img img{max-width: 155px;max-height: 210px;border-radius: 1%;}
    </style>
@endsection

@section('content')
    <div class="wrapper wrapper-content  animated fadeInRight article">
        <div class="row">
            <div class="col-lg-10 col-lg-offset-1">
                <div class="ibox">
                    <div class="ibox-content">
                        <div class="text-center article-title">
                            <h1>
                                {{$info->title}}
                            </h1>
                        </div>
                        <img src="{{$info['thumb']}}" align="left" width="155" height="210" style="margin-right: 10px">
                        <div class="hot-label">导演：{{$info['director']}}</div>
                        <div class="hot-label">编剧：{{$info['screenwriter']}}</div>
                        <div class="hot-label">主演：{{$info['main_performer']}}</div>
                        <div class="hot-label">片长：{{$info['long']}}</div>
                        <div class="hot-label">国家/地区：{{$info['country_name']}}</div>
                        <div class="hot-label">上映日期：{{$info['show_time']}}</div>

                        <hr style="clear: both">
                        @if($films)
                            <div class="row" style="margin: auto auto;">
                                <div class="ibox float-e-margins">
                                    <div class="ibox-content no-padding ">
                                        <div class="well">
                                            <h5>相关资源链接：</h5>
                                            <ol >
                                                @foreach($films as $key=>$film)
                                                    <li class="list-group-item">
                                                        <a href="{{$film['id']}}" target="_blank" title="{{$film['title']}}">{{$film['title']}}</a>
                                                    </li>
                                                @endforeach
                                            </ol>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <hr>
                        @endif

                        <p style="word-break: break-all;clear: both">
                            {!! $info->summary !!}
                        </p>
                        <hr>
                        <div class="row">
                            <div class="col-lg-12">
                                <!-- UY BEGIN -->
                                <div id="uyan_frame"></div>
                                <script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=2078876"></script>
                                <!-- UY END -->
                            </div>
                        </div>


                    </div>
                </div>
            </div>
        </div>

    </div>
@endsection


@section('footer_script')


@endsection

